<?php

namespace app\api\controller\user;

use app\api\controller\Controller;
use app\api\model\user\Paper as Model;

class Paper extends Controller
{
    public function detail($paper_id)
    {
        $detail = Model::detail($paper_id, ['user']);
        return $this->renderSuccess(compact('detail'));
    }
}
